package com.hansming.bss.modules.sfc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hansming.bss.common.persistence.Page;
import com.hansming.bss.common.service.CrudService;
import com.hansming.bss.modules.sfc.dao.CarInfoDao;
import com.hansming.bss.modules.sfc.dao.SfcCommentsDao;
import com.hansming.bss.modules.sfc.entity.CarInfo;
import com.hansming.bss.modules.sfc.entity.SfcComments;
import com.hansming.bss.modules.sfc.util.PageBean;

/**
 * 顾客评论Service接口
 * @author Hansming
 * @version 2017-09-15
 */
@Service
@Transactional(readOnly = true)
public class SfcCommentsService extends CrudService<SfcCommentsDao,SfcComments>{
	
	@Autowired
	private SfcCommentsDao commentsDao;
	
	public List<SfcComments> getByid(String id){
		return commentsDao.getByid(id);
	}
	
	
	@Transactional(readOnly = false)
	public void auditpass(SfcComments sfcComments) {
		commentsDao.auditpass(sfcComments);
	}
	

	
}
